package com.manage.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;

@ApiModel(value = "潮鞋收藏对象", description = "这是潮鞋收藏对象")
@Table(name = "collections")
public class Collections {

    @ApiModelProperty(hidden = true)
    @Id
    @Column(name = "collection_id")
    private String collectionId;

    @ApiModelProperty(value = "用户id", name = "userId", required = true)
    @Column(name = "user_id")
    private String userId;

    @ApiModelProperty(value = "鞋id", name = "shoesId", required = true)
    @Column(name = "shoes_id")
    private String shoesId;

    @ApiModelProperty(hidden = true)
    @Column(name = "create_time")
    private String createTime;

    /**
     * 获取收藏id
     *
     * @return collection_id - 收藏id
     */
    public String getCollectionId() {
        return collectionId;
    }

    /**
     * 设置收藏id
     *
     * @param collectionId 收藏id
     */
    public void setCollectionId(String collectionId) {
        this.collectionId = collectionId;
    }

    /**
     * 获取用户id
     *
     * @return user_id - 用户id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 设置用户id
     *
     * @param userId 用户id
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 获取鞋id
     *
     * @return shoes_id - 鞋id
     */
    public String getShoesId() {
        return shoesId;
    }

    /**
     * 设置鞋id
     *
     * @param shoesId 鞋id
     */
    public void setShoesId(String shoesId) {
        this.shoesId = shoesId;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public String getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}